package java68_7;

public class TeacherTest2 {
    public static void main(String[] args) {
        Object o=new DocNetTeacher("小郭","上海中心");
        JavaTeacher jt= (JavaTeacher) o;
        jt.selfIntro();
        jt.giveLession();
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
        Object j2=null;
        DocNetTeacher j3=(DocNetTeacher)j2;


        //        DocNetTeacher  teacher=(DocNetTeacher)o;
//
//        teacher.selfIntro();
//        teacher.giveLession();
//        teacher.buzhiZuoye();
//        teacher.manageSQL();
    }
}
